//
//  Extension.swift
//  ITNetLibrary
//
//  Created by Thriller on 2020/12/25.
//

import Foundation

public struct Extension<Base> {

    public private(set) var base: Base
    public init(_ base: Base) {
        self.base = base
    }
}

public protocol ExtensionCompatible {}

public extension ExtensionCompatible {
    
    var ex: Extension<Self> { Extension(self) }
    
    static var ex: Extension<Self>.Type { Extension.self }
}
